import axios from "axios";

export async function getTemp(location){
  let res = await axios({
        url:'https://api.open.geovisearth.com/v2/cn/area/basic',
        method:'get',
        params:{
            token:'6daaa149f18acad031cf5dfa26b03cc6',
            location:location
        }
    })

    return res.data
}
